<?php

namespace App\Models;

/**
 * Class Blog
 * @property integer id
 * @property string type 类型
 * @property integer type_id 类型ID
 * @property integer product_id 商品ID
 * @property integer sort 排序
 */
class UserRelation extends ApplicationModel
{
    protected $fillable = [
        'type',
        'type_id',
        'user_id',
        'sort',
    ];

    public function user()
    {
        return $this->belongsTo(User::class);
    }

    
}
